#ifndef USERCREDENTIALSDIALOG_H
#define USERCREDENTIALSDIALOG_H

#include <QDialog>

namespace Ui {
    class UserCredentialsDialog;
}

class UserCredentialsDialog : public QDialog
{
    Q_OBJECT

public:
    explicit UserCredentialsDialog(QWidget *parent = 0);
    ~UserCredentialsDialog();

signals:
    void dataProvided(QString username, QString password);
    void cancelled();

private slots:
    void onAccept();
    void onCancel();

private:
    Ui::UserCredentialsDialog *ui;
};

#endif // USERCREDENTIALSDIALOG_H
